package com.yugao.fintech.antelope.system.model;

import com.yugao.fintech.antelope.base.model.module.mq.BaseMqPayload;
import com.yugao.fintech.antelope.system.model.entity.RamModule;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.List;


@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class ResourceSyncMQ extends BaseMqPayload {
    public static final String EXCHANGE = "resource_sync";
    public static final String QUERY_NOTICE_INIT = "module_notice_init";
    public static final String QUERY_NOTICE_REFRESH = "module_notice_refresh";
    // 初始化key, 从需要的地方发起
    public static final String KEY_NOTICE_INIT = "notice_init";
    // 刷新key, 从system服务发起
    public static final String KEY_NOTICE_REFRESH = "notice_refresh";

    /**
     * 资源访问模块
     */
    private List<RamModule> ramModuleList;
}
